import request from '@/utils/request'
import { insert1RoomType } from '@/api/roomType'

export function selectAllRoom(params) {
  return request({
    url: 'room/selectAllRoom',
    method: 'get',
    params
    // params: { token }
  })
}

export function insertRoom(params) {
  return request({
    url: 'room/insert',
    method: 'get',
    params
    // params: { token }
  })
}

export function updateRoom(params) {
  return request({
    url: 'room/update',
    method: 'get',
    params
    // params: { token }
  })
}

export function deleteRoom(params) {
  return request({
    url: 'room/delete',
    method: 'get',
    params
    // params: { token }
  })
}
